#include "instruct.h"
#include "register.h"
#include "def.h"
#include <stdio.h>

int retIsRun(char opt){
    if(opt==RET){
        return 1;
    }
    return 0;
}
int retParseRun(Register*R){
    char*code=R->code;
	R->RSP=R->RSP-4;
	int index=R->RSS+R->RSP;
	u32 num2=byte2int(code[index+3],code[index+2],code[index+1],code[index+0]);
    R->RPC=num2;
    return 0;
}
